package com.abcode.st.controller;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.ArrayList;
import java.util.List;

/**
 * @author qinzhitao
 * @Description TODO
 * @date 2023/2/21 11:14
 */
@RequestMapping("test")
@RestController
public class TestController {

    @PostMapping("testXml")
    public String testXml(@RequestBody String msg){
        System.out.println("msg---"  + msg);
        return msg;
    }

    public String ADD(String test, Integer cout, Double amount){
        return "";
    }
    private String getUniqueFltNo(){
        List<String> nameList = new ArrayList<>();
        for (String s : nameList) {
            System.out.println(s);
        }
        return "test";

    }

}
